<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		<script>
			do {
			    let str = prompt('你爱我吗?');
			    if (str === '爱') {
			        alert('我也爱你啊～');
			        break;
			    }else if (str === '不爱') {
			        alert('那我们还是做朋友吧～');
			        break;
					}else {
			    }	
			} while (true);
		</script>
	</body>
</html>